/ Assembly List / LJCNetCommon / NetCommon / XmlDecode

Namespace - LJCNetCommon


Parameters
text - The encoded text.

Returns

The decoded text.

Syntax

C#
public static String XmlDecode(String text)

Decodes an encoded XML string. (E)

Example

C#
using LJCNetCommon;
        
// Decodes an encoded XML string.
private static void XmlDecode()
{
    // Setup
    string xml = "<text>Here & There</text>";
    string encoded = NetCommon.XmlEncode(xml);

    // Decodes an encoded XML string.
    string text = NetCommon.XmlDecode(encoded);
}

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.